package com.lingxu.base.system.manage.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 用户审批信息
 * @Author: zhujc
 * @Date:   2021-06-17
 * @Version: V1.0.1
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value="用户审批信息", description="用户审批信息")
public class StatusUser implements Serializable{
    
	/**主键*/
    @ApiModelProperty(value = "主键",hidden = true)
	private String id;
	/**用户姓名*/
    @ApiModelProperty(value = "用户姓名")
	private String realName;
	/**用户姓名*/
	@ApiModelProperty(value = "用户姓名")
	private String name = this.realName;
	/**状态(0:未审批；1:已审批)*/
    @ApiModelProperty(value = "状态(0:未审批；1:已审批)",hidden = true)
	private Integer status;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间",hidden = true)
	private Date createTime;
	/**申请人单位*/
    @ApiModelProperty(value = "申请人单位")
	private String orgName;
	/**部门id*/
    @ApiModelProperty(value = "申请人部门")
	private String departName;


}
